package com.cloudcc.mobile.entity.addmicropost;

import java.io.Serializable;

import com.cloudcc.mobile.entity.EntityBase;
import com.cloudcc.mobile.entity.chat.DraftBox;
import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Foreign;
import com.lidroid.xutils.db.annotation.Table;

/** 发布“文件”类型的忒早  */
@Table(name = "AddMicroPostD")
public class AddMicroPostD extends EntityBase implements Serializable{
	@Column(column = "fileName")
	private String fileName;//文件名称
	@Column(column = "fileType")
	private String fileType;//文件类型
	@Column(column = "fileData")
	private String fileData;//文件内容，
	@Column(column = "body")
	private String body;//
	@Column(column = "targetType")
	private String targetType;//
	@Column(column = "targetId")
	private String targetId;//
	@Column(column = "recordId")
	private String recordId;//
	
	@Foreign(column = "parentId", foreign = "id")
	public DraftBox parent;
	
	public DraftBox getParent() {
		return parent;
	}
	public void setParent(DraftBox parent) {
		this.parent = parent;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getFileType() {
		return fileType;
	}
	public void setFileType(String fileType) {
		this.fileType = fileType;
	}
	public String getFileData() {
		return fileData;
	}
	public void setFileData(String fileData) {
		this.fileData = fileData;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getTargetType() {
		return targetType;
	}
	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}
	public String getTargetId() {
		return targetId;
	}
	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}
	public String getRecordId() {
		return recordId;
	}
	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}
	public AddMicroPostD(String fileName, String fileType, String fileData,
			String body, String targetType, String targetId, String recordId) {
		super();
		this.fileName = fileName;
		this.fileType = fileType;
		this.fileData = fileData;
		this.body = body;
		this.targetType = targetType;
		this.targetId = targetId;
		this.recordId = recordId;
	}
	public AddMicroPostD() {
		super();
	}
	

}
